/**
 * Created by 2006-1-19 17:15:15
 * $Id: TemplateContext.java 9 2006-03-08 10:21:59Z wjx $
 */
package com.someok.utils.template;

import java.util.Map;
import org.apache.velocity.VelocityContext;

/**
 * <p>
 * <a href="TemplateContext.java.html"><i>View Source</i></a>
 * </p>
 *
 * @author wjx
 * @version $Revision: 9 $ $Date: 2006-03-08 18:21:59 +0800 (星期三, 08 三月 2006) $
 */
public class TemplateContext {
	VelocityContext context = null;

	public TemplateContext() {
		context = new VelocityContext();
	}

	public TemplateContext(Map mapCtx) {
		context = new VelocityContext(mapCtx);
	}

	public Object put(String arg0, Object arg1) {
		return context.put(arg0, arg1);
	}

	public Object get(String arg0) {
		return context.get(arg0);
	}

	public boolean containsKey(Object arg0) {
		return context.containsKey(arg0);
	}

	public Object[] getKeys() {
		return context.getKeys();
	}

	public Object remove(Object arg0) {
		return context.remove(arg0);
	}

	public VelocityContext getWrapContext() {
		return context;
	}

}
